package com.oba.king.datalib.productinfo;

import java.util.Date;

import com.oba.base.service.BaseBo;

public class ProductInfo extends BaseBo {

	private Long productId;
	private String inActive = "Y";
	private String productSerialId;//药品编码
	private String productName;//药品名称
	private String productDescription;
	private String productShortDescription;
	private String subjectCode;//科目编码
	private String productSpec;//产品规格
	private String doseType;
	private String measureUnit;//单位
	private String piecesUnit;
	private String categoryType;
	private Date productActiveDate;
	private String manufacturer;
	private Double productWeight;
	private String registerLogo;
	private String approveNumber;
	private Double wholeSalePrice;
	private Double retailPrice;
	private Double internalPrice;
	private String productUnit;
	private Double productUnitPrice;
	private Long productQuantity;
	private String subsidiaryProductId;
	private String remark;
	private Date createDate;
	private Date updateDate;
	private String updateBy;
	private String inActiveTy;

	public Long getProductId() {
		return productId;
	}

	public void setProductId(Long productId) {
		this.productId = productId;
	}

	public String getInActive() {
		return inActive;
	}

	public void setInActive(String inActive) {
		this.inActive = inActive;
	}

	public String getProductSerialId() {
		return productSerialId;
	}

	public void setProductSerialId(String productSerialId) {
		this.productSerialId = productSerialId;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public String getProductDescription() {
		return productDescription;
	}

	public void setProductDescription(String productDescription) {
		this.productDescription = productDescription;
	}

	public String getProductShortDescription() {
		return productShortDescription;
	}

	public void setProductShortDescription(String productShortDescription) {
		this.productShortDescription = productShortDescription;
	}

	public String getSubjectCode() {
		return subjectCode;
	}

	public void setSubjectCode(String subjectCode) {
		this.subjectCode = subjectCode;
	}

	public String getProductSpec() {
		return productSpec;
	}

	public void setProductSpec(String productSpec) {
		this.productSpec = productSpec;
	}

	public String getDoseType() {
		return doseType;
	}

	public void setDoseType(String doseType) {
		this.doseType = doseType;
	}

	public String getMeasureUnit() {
		return measureUnit;
	}

	public void setMeasureUnit(String measureUnit) {
		this.measureUnit = measureUnit;
	}

	public String getPiecesUnit() {
		return piecesUnit;
	}

	public void setPiecesUnit(String piecesUnit) {
		this.piecesUnit = piecesUnit;
	}

	public String getCategoryType() {
		return categoryType;
	}

	public void setCategoryType(String categoryType) {
		this.categoryType = categoryType;
	}

	public Date getProductActiveDate() {
		return productActiveDate;
	}

	public void setProductActiveDate(Date productActiveDate) {
		this.productActiveDate = productActiveDate;
	}

	public String getManufacturer() {
		return manufacturer;
	}

	public void setManufacturer(String manufacturer) {
		this.manufacturer = manufacturer;
	}

	public String getRegisterLogo() {
		return registerLogo;
	}

	public void setRegisterLogo(String registerLogo) {
		this.registerLogo = registerLogo;
	}

	public String getApproveNumber() {
		return approveNumber;
	}

	public void setApproveNumber(String approveNumber) {
		this.approveNumber = approveNumber;
	}

	public String getProductUnit() {
		return productUnit;
	}

	public void setProductUnit(String productUnit) {
		this.productUnit = productUnit;
	}

	public Double getProductWeight() {
		return productWeight;
	}

	public void setProductWeight(Double productWeight) {
		this.productWeight = productWeight;
	}

	public Double getWholeSalePrice() {
		return wholeSalePrice;
	}

	public void setWholeSalePrice(Double wholeSalePrice) {
		this.wholeSalePrice = wholeSalePrice;
	}

	public Double getRetailPrice() {
		return retailPrice;
	}

	public void setRetailPrice(Double retailPrice) {
		this.retailPrice = retailPrice;
	}

	public Double getInternalPrice() {
		return internalPrice;
	}

	public void setInternalPrice(Double internalPrice) {
		this.internalPrice = internalPrice;
	}

	public Double getProductUnitPrice() {
		return productUnitPrice;
	}

	public void setProductUnitPrice(Double productUnitPrice) {
		this.productUnitPrice = productUnitPrice;
	}

	public Long getProductQuantity() {
		return productQuantity;
	}

	public void setProductQuantity(Long productQuantity) {
		this.productQuantity = productQuantity;
	}

	public String getSubsidiaryProductId() {
		return subsidiaryProductId;
	}

	public void setSubsidiaryProductId(String subsidiaryProductId) {
		this.subsidiaryProductId = subsidiaryProductId;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public Long getId() {
		return productId;
	}

	public String getName() {
		return productName;
	}

	public String getInActiveTy() {
		if(inActive!=null && !inActive.equals("")){
			if(inActive.equals("Y")){
				return "有效";
			}else if(inActive.equals("N")){
				return "无效";
			}
		}
		return "";
	}

	public void setInActiveTy(String inActiveTy) {
		this.inActiveTy = inActiveTy;
	}

}
